package com.hfjyz.registration.model;

import java.io.Serializable;
import java.util.Date;

/**
 * The persistent class for the Exam database table.
 * 
 */
public class Exam implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;

	private Date publishDate;
	private Date applyBeginDate;
	private Date applyDeadDate;

	private Date examDate;

	private String examName;
	private String examPosition;

	private String examTime;
	private String name;
	private String contents;

	private Date reApplyStart;
	private Date reApplyEnd;
	private Date admissionPrintStart;
	private Date admissionPrintEnd;
	private Date scorePublishDate;
	private Date payStartDate;
	private Date payEndDate;
	private Double regFee;

	private boolean onlinePay;

	private String userName;
	private Double examCode;

	public Exam() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName
	 *            the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the examCode
	 */
	public Double getExamCode() {
		return examCode;
	}

	/**
	 * @param examCode
	 *            the examCode to set
	 */
	public void setExamCode(Double examCode) {
		this.examCode = examCode;
	}

	public Date getApplyBeginDate() {
		return applyBeginDate;
	}

	public void setApplyBeginDate(Date applyBeginDate) {
		this.applyBeginDate = applyBeginDate;
	}

	public Date getApplyDeadDate() {
		return applyDeadDate;
	}

	public void setApplyDeadDate(Date applyDeadDate) {
		this.applyDeadDate = applyDeadDate;
	}

	public Date getExamDate() {
		return this.examDate;
	}

	public void setExamDate(Date examDate) {
		this.examDate = examDate;
	}

	public String getExamPosition() {
		return this.examPosition;
	}

	public void setExamPosition(String examPosition) {
		this.examPosition = examPosition;
	}

	public String getExamTime() {
		return this.examTime;
	}

	public void setExamTime(String examTime) {
		this.examTime = examTime;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getReApplyStart() {
		return reApplyStart;
	}

	public void setReApplyStart(Date reApplyStart) {
		this.reApplyStart = reApplyStart;
	}

	public Date getReApplyEnd() {
		return reApplyEnd;
	}

	public void setReApplyEnd(Date reApplyEnd) {
		this.reApplyEnd = reApplyEnd;
	}

	public Date getAdmissionPrintStart() {
		return admissionPrintStart;
	}

	public void setAdmissionPrintStart(Date admissionPrintStart) {
		this.admissionPrintStart = admissionPrintStart;
	}

	public Date getAdmissionPrintEnd() {
		return admissionPrintEnd;
	}

	public void setAdmissionPrintEnd(Date admissionPrintEnd) {
		this.admissionPrintEnd = admissionPrintEnd;
	}

	/**
	 * @return the contents
	 */
	public String getContents() {
		return contents;
	}

	/**
	 * @param contents
	 *            the contents to set
	 */
	public void setContents(String contents) {
		this.contents = contents;
	}

	/**
	 * @return the publishDate
	 */
	public Date getPublishDate() {
		return publishDate;
	}

	/**
	 * @param publishDate
	 *            the publishDate to set
	 */
	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	/**
	 * @return the scorePublishDate
	 */
	public Date getScorePublishDate() {
		return scorePublishDate;
	}

	/**
	 * @param scorePublishDate
	 *            the scorePublishDate to set
	 */
	public void setScorePublishDate(Date scorePublishDate) {
		this.scorePublishDate = scorePublishDate;
	}

	/**
	 * @return the examName
	 */
	public String getExamName() {
		return examName;
	}

	/**
	 * @param examName
	 *            the examName to set
	 */
	public void setExamName(String examName) {
		this.examName = examName;
	}

	/**
	 * @return the regFee
	 */
	public Double getRegFee() {
		return regFee;
	}

	/**
	 * @param regFee
	 *            the regFee to set
	 */
	public void setRegFee(Double regFee) {
		this.regFee = regFee;
	}

	/**
	 * @return the onlinePay
	 */
	public boolean isOnlinePay() {
		return onlinePay;
	}

	/**
	 * @param onlinePay
	 *            the onlinePay to set
	 */
	public void setOnlinePay(boolean onlinePay) {
		this.onlinePay = onlinePay;
	}

	/**
	 * @return the payStartDate
	 */
	public Date getPayStartDate() {
		return payStartDate;
	}

	/**
	 * @param payStartDate the payStartDate to set
	 */
	public void setPayStartDate(Date payStartDate) {
		this.payStartDate = payStartDate;
	}

	/**
	 * @return the payEndDate
	 */
	public Date getPayEndDate() {
		return payEndDate;
	}

	/**
	 * @param payEndDate the payEndDate to set
	 */
	public void setPayEndDate(Date payEndDate) {
		this.payEndDate = payEndDate;
	}

}